package com.ls.controller.benefit.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName SortBenefitModel
 * @Description 权益排序model
 * @Author pengyu
 * @Date 2024/6/27 17:14
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SortBenefitModel {
    /** 权益id */
    @NotNull(message = "id不得为空")
    private Long benefitId;
    @NotNull(message = "排序不得为空")
    private Integer sort;
}
